package com.hymall.service.wx;

import com.hymall.bean.common.BasePageInfo;
import com.hymall.bean.common.CommonData;

/**
 * @author: 叶熠彬
 * @description:
 * @date: 2022/7/19 11:05
 */
public interface WxCouponService {
    CommonData queryCouponList(Integer userId, int status, BasePageInfo info);

    int addCouponByCode(String code);

    CommonData queryWxAvailableCoupon(BasePageInfo info);

    CommonData queryCartAvailableCoupon(Integer userId);

    int receiveCoupon(Integer couponId);

    int addNewUserCoupon(String wxCode);
}
